package edu.lingnan.lingnanblog.service;

import edu.lingnan.lingnanblog.entity.Comment;
import java.util.List;
import java.util.Map;

/**
 * @author wenchang
 * @since 2020/6/17 23:24
 */
public interface CommentService {

    int add(Comment comment);
    int update(Comment comment);
    List<Comment> list(Map<String, Object> map);
    Long getTotal(Map<String, Object> map);
    Integer delete(Integer id);
}

